package algocity.controller;

import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;

import javax.swing.AbstractButton;

import algocity.modelo.ModeloObservable;

public class BotonSelectConstruccionListener extends MouseAdapter{

	private ModeloObservable modelo;
	
	public BotonSelectConstruccionListener(ModeloObservable modelo){
		this.modelo = modelo;
	}
	
	public BotonSelectConstruccionListener(){
	}
	
	public void mousePressed(MouseEvent e){
		modelo.selectEdificio(e.getSource().toString());
	}
}
